home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-05-03 | 1.1 KB | 42 lines |
- ################################################################
- ## begin configuration stuff ##
- ## (see the README file for details) ##
- ################################################################
-
- ## to enable logging, define the symbol LOGGING and define
- ## LogDir to be the absolute path of the log directory
-
- ## ScoreFile - absolute path of the high score file location
- ## (Edit this as appropriate for your local environment.)
- ##
- DEFS = -DScoreFile=\"/u/tuna/src/mosaic/mosaic.scores\"
-
- ################################################################
- ## end configuration stuff ##
- ################################################################
-
- RM = /bin/rm
-
- CFLAGS = $(DEFS)
-
- PROG = mosaic
- SRCS = mosaic.c x11.c
- OBJS = mosaic.o x11.o
- LIBS = -lX11
-
- DIST = README HISTORY Imakefile Makefile.DIST *.[ch] *.man mosaic.scores
-
- all: $(PROG)
-
- $(PROG): $(OBJS)
- $(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LIBS)
-
- tarfile:
- -$(RM) $(PROG).tar*
- tar cvf $(PROG).tar $(DIST)
- compress -v $(PROG).tar
-
- sharfile:
- -$(RM) $(PROG).shar*
- shar -x -o $(PROG).shar $(DIST)
-